package com.ktjy.mapper;

import com.ktjy.pojo.ComPuTerRoom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ComPuTerRoomMapper {

    public List<ComPuTerRoom> selectComPuTerRoom(@Param("roomName") String roomName,
                                                 @Param("pageBegin") Integer pageBegin,
                                                 @Param("pageSize") Integer pageSize);

    public int count(@Param("roomName") String roomName);

    public int insertComPuTerRoom(ComPuTerRoom comPuTerRoom);
    public ComPuTerRoom selectComPuTerRoomById(Integer roomId);

    public int updateComPuTerRoom(ComPuTerRoom comPuTerRoom);

    public int deleteComPuTerRoom(@Param("roomId") Integer roomId);
}
